DeviceMetricsOrBuilder

interface DeviceMetricsOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getAirUtilTx(): Float

Percent of airtime for transmission used within the last hour.
optional float air_util_tx = 4;
Link copied to clipboard
abstract fun getBatteryLevel(): Int

0-100 (>100 means powered)
optional uint32 battery_level = 1;
Link copied to clipboard

Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
optional float channel_utilization = 3;
Link copied to clipboard
abstract fun getUptimeSeconds(): Int

How long the device has been running since the last reboot (in seconds)
optional uint32 uptime_seconds = 5;
Link copied to clipboard
abstract fun getVoltage(): Float

Voltage measured
optional float voltage = 2;
Link copied to clipboard
abstract fun hasAirUtilTx(): Boolean

Percent of airtime for transmission used within the last hour.
optional float air_util_tx = 4;
Link copied to clipboard
abstract fun hasBatteryLevel(): Boolean

0-100 (>100 means powered)
optional uint32 battery_level = 1;
Link copied to clipboard

Utilization for the current channel, including well formed TX, RX and malformed RX (aka noise).
optional float channel_utilization = 3;
Link copied to clipboard
abstract fun hasUptimeSeconds(): Boolean

How long the device has been running since the last reboot (in seconds)
optional uint32 uptime_seconds = 5;
Link copied to clipboard
abstract fun hasVoltage(): Boolean

Voltage measured
optional float voltage = 2;